<template>
	<div>
		<el-tag v-if="name === '新安装'" size="mini" type="success">{{ name }}</el-tag>
		<el-tag v-else-if="name === '上刊'" size="mini" type="primary">{{ name }}</el-tag>
		<el-tag v-else-if="name === '下刊'" size="mini" type="danger">{{ name }}</el-tag>
		<el-tag v-else-if="name === '巡检'" size="mini" type="warning">{{ name }}</el-tag>
		<el-tag v-else-if="name === '维修'" size="mini" type="info">{{ name }}</el-tag>
		<el-tag v-else-if="name === '换画'" size="mini" type="primary">{{ name }}</el-tag>
		<el-tag v-else-if="name === '中间监播'" size="mini" type="success">{{ name }}</el-tag>
		<el-tag v-else size="mini" type="info">{{ name }}</el-tag>
	</div>
</template>

<script>
	export default {
		name: 'BFWorkOrderTypeTag',
		props: {
			name: {
				type: String,
				default: ''
			}
		},
		data() {
			return {
			}
		},
		watch: {
		},
		mounted() {
		},
		methods: {
		}
	}
</script>

<style lang="scss" scoped>

</style>